package com.sunq.studio.sys.service;

import com.sunq.studio.sys.domain.TbClass;
import com.sunq.studio.sys.domain.TbSignClass;
import com.sunq.studio.sys.domain.TbSignTeacher;
import com.sunq.studio.sys.vo.ClassSignVO;

import java.util.Date;
import java.util.List;

/**
 * Created by sunq on 2019/6/30.
 */
public interface ClassService {


    List<TbClass> getClassAll();

    int putSignClass(TbSignClass tbSignClass);
    int putTeachSignClass(TbSignTeacher tbSignClass);


    List<ClassSignVO>  getSignedClassList(Date classDate,Integer auditFlag,int pageNum);
    List<ClassSignVO> getUserClassSign(Integer userId,int page);
    int setClassAuditPass(TbSignClass tbSignClass);
    int setClassAuditDel(TbSignClass tbSignClass);
    int addClass(TbClass tbClass);
    int updateClass(TbClass tbClass);

    TbClass  getClassbyId( Integer id);

    List<ClassSignVO> getUnauditList( int page);

    List<ClassSignVO> getAuditedList( int page );

    int setTeachClassAudit(TbSignTeacher tbSignClass);

}
